package com.nancy.ioc.BeanFactoryPostProcessor.importtest.componenttoscan;

import org.springframework.stereotype.Component;

@Component
public class ComponentToScanImport {

    public ComponentToScanImport(){
        System.out.println("报扫描加载Component组件，对应的bean ==> ComponentToScanImport");
    }

    @Override
    public String toString() {
        return super.toString() + " ComponentToScanImport";
    }
}
